package cn.bugstack.mybatis.mapping;

import java.util.Map;

/**
 * description: 绑定的sql语句 将动态内容转换成字符串
 * taskId：
 * <pre>
 * change history:
 * date             defect#             person                comments
 * ---------------------------------------------------------------------
 * 2024/11/27       ********         zhaochaoyue        create file
 * </pre>
 *
 * @author: zhaochaoyue
 * @date: 2024/11/27 16:44
 * @copyright: 2024
 */
public class BoundSql {
    
    private String sql;
    //入参
    private String parameterType;
    //出参
    private String resultType;

    private Map<Integer,String> parameter;

    public BoundSql(String sql, String parameterType, String resultType, Map<Integer, String> parameter) {
        this.sql = sql;
        this.parameterType = parameterType;
        this.resultType = resultType;
        this.parameter = parameter;
    }

    public String getSql() {
        return sql;
    }

    public String getParameterType() {
        return parameterType;
    }

    public String getResultType() {
        return resultType;
    }

    public Map<Integer, String> getParameter() {
        return parameter;
    }
}
